﻿var Item = cc.Sprite.extend({

    type: 0,
    ctor: function (type) {
        this._super("#item" + type + ".png");
        this.type = type;
        return true;
    },
    reuse: function (type) {
        this.setSpriteFrame("item" + type + ".png");
        this.type = type;
    },
    unuse: function () { }




});
Item.create = function(type) {
    return new Item(type);
};
